﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Main"  Runat="Server">
    欢迎<asp:Label ID="Label1" runat="server" Text="您" Width="100px" ForeColor="Red"></asp:Label>进入餐馆订餐系统！<asp:Label
        ID="Label2" runat="server" Text="Label" ForeColor="Red"></asp:Label><br />
    <br />
    <table>
        <tr>
            <td style="width: 100px">
                优惠信息：</td>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td colspan="2" rowspan="2">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    DataKeyNames="C_nLevel" DataSourceID="AccessDataSource1" ForeColor="#333333"
                    GridLines="None">
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundField DataField="C_nLevel" HeaderText="会员等级" ReadOnly="True" SortExpression="C_nLevel" />
                        <asp:BoundField DataField="C_fDiscount" HeaderText="享受折扣" SortExpression="C_fDiscount" />
                    </Columns>
                    <RowStyle BackColor="#EFF3FB" />
                    <EditRowStyle BackColor="#2461BF" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/DB_NCI5.mdb"
                    SelectCommand="SELECT * FROM [Cheap]"></asp:AccessDataSource>
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
            </td>
        </tr>
    </table>
</asp:Content>

